package com.lkx.farmershop.model.vo;

import lombok.*;

import java.time.LocalDateTime;

@Getter
@Setter
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ChatVo {

    private SimpleUserVo simpleUserVo;

    /**
     * 聊天内容
     */
    private String messageContent;
    /**
     * 发言时间
     */
    private LocalDateTime sendTime;

    public ChatVo(String messageContent, LocalDateTime sendTime) {
        this.messageContent = messageContent;
        this.sendTime = sendTime;
    }
}
